package cn.anjubao.cp.api.mapper;

import cn.anjubao.cp.api.dto.*;
import cn.anjubao.cp.api.entity.ParkingRecord;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ParkingRecordMapper extends BaseMapper<ParkingRecord> {

     List<OrderListResDto> getOrderList(OrderListReqForm reqForm);

     OrderDetailsResDto getOrderDetails(String parkingRecordId);

     ParkingRecordPayRecord getBySlotNum(String slotNum);

     List<MonitorListResDto> getMonitorList(MonitorListReqForm reqForm);

     MonitorParkingTimeDto getMonitorParkingTime(String parkingRecordId);

     Integer getOrderListTotal(OrderListReqForm reqForm);

     Integer getMonitorListTotal(MonitorListReqForm reqForm);

     ParkingRecord getRecordBySlotNum(String slotNum);

}